﻿@model Lucy.Models.Customer

@{
    ViewBag.Title = "SignIn";
}

<h2>SignIn</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Sign in failed. Check your log in credentials");
    <div>
        <fieldset>
            <legend>LogIn Form</legend>
            <div>@Html.LabelFor(u => u.UserName)</div>
            <div>
                @Html.TextBoxFor(u => u.UserName)
                @Html.ValidationMessageFor(u => u.UserName)
            </div>

            <div>@Html.LabelFor(u => u.Password)</div>
            <div>
                @Html.PasswordFor(u => u.Password)
                @Html.ValidationMessageFor(u => u.Password)
            </div>

            <input type="submit" value="Log In" />
        </fieldset>
    </div>
}